﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="UpdatePosting.aspx.cs" Inherits="UpdatePosting" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="competition_box"> 
    <div class="menuTitle">Upload Posting </div> <br /> <br />
    <h1>Posting Name:</h1>
     <asp:TextBox ID="txtPostName" runat="server" 
         Width="300px" ></asp:TextBox> 
     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
         ControlToValidate="txtPostName" EnableTheming="True" 
         ErrorMessage="*Required" ForeColor="Red" 
         ValidationGroup="1"></asp:RequiredFieldValidator>
     <br /><br />

     <h1 >Quotation:</h1>  <asp:TextBox ID="txtQuotation" runat="server" 
         Height="110px" TextMode="MultiLine" Width="300px"></asp:TextBox>
     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
         ControlToValidate="txtQuotation" ErrorMessage="*Required " 
         ForeColor="Red" ValidationGroup="1"></asp:RequiredFieldValidator>
     <br /><br />

    <h1>Description:</h1>  
     <asp:TextBox ID="txtDescription" 
         runat="server" Height="110px" Width="300px" TextMode="MultiLine"></asp:TextBox>
     <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
         ControlToValidate="txtDescription" 
         ErrorMessage="*Required " ForeColor="Red" 
         ValidationGroup="1"></asp:RequiredFieldValidator>
     <br /><br />
   
     <h1>Competition:</h1>  <asp:DropDownList ID="drlCompetition" runat="server">
        </asp:DropDownList><br /><br />

         <h1>Price:</h1>  <asp:TextBox ID="txtPrice" runat="server" 
         Width="300px"></asp:TextBox>
     <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
         ControlToValidate="txtPrice" ErrorMessage="*Required " 
         ForeColor="Red" ValidationGroup="1"></asp:RequiredFieldValidator>

     <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
         ControlToValidate="txtPrice" ErrorMessage="*Enter Number!" 
         ValidationExpression="^\d+$" ForeColor="Red" ValidationGroup="1"></asp:RegularExpressionValidator>
     <br /><br />
   
        
    <h1>Painting:</h1>  <asp:FileUpload ID="fuPainting" runat="server" Width="300px" /> <asp:Label ID="lblMessage" runat="server"></asp:Label>
   
     <br /><br />

    

     <asp:Button ID="btnAdd" runat="server"  Text="Upload" onclick="btnAdd_Click" 
         ValidationGroup="1" />
     <asp:Button ID="btnReset" runat="server" Text="Reset" onclick="btnReset_Click" />
    <asp:Button ID="btnCancel" runat="server" Text="Cancel" 
        onclick="btnCancel_Click" />
     </div>
          <asp:Label ID="Label1" runat="server"></asp:Label>
</asp:Content>

